<template>
  <div id="basiclayout">
    <a-layout style="min-height: 100vh">
      <a-layout-header class="header">
        <GlobalHeader></GlobalHeader>
      </a-layout-header>
      <a-layout-content class="content">
        <router-view />
      </a-layout-content>
      <a-layout-footer class="footer">--Our Project--</a-layout-footer>
    </a-layout>
  </div>
</template>

<script setup>
import GlobalHeader from "@/components/GlobalHeader.vue";
</script>

<style scoped>
#basiclayout .header {
  position: fixed;
  z-index: 1000;
  height: 100px;
  top: 0px;
  left: 0px;
  right: 0px;
  position: sticky;
  padding: 16px;
  box-shadow: #eee 1px 1px 5px;
  background-color: #ffffff;
}
#basiclayout .content {
  /* top: calc(100vh -100px); */
  overflow: hidden;
  margin-bottom: 16px;
  padding: 20px;
}
#basiclayout .footer {
  background-color: #ffffff;
  padding: 16px;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  box-shadow: #eee 1px 1px 5px;
  color: #aaaaaa;
}
</style>
